package com.newcoin.chat.beans.entity;

import com.newcoin.chat.beans.vo.UserVo;

public class FriendMsgEntity {
    private Long id;
    private Long fromUser;
    private Long toUser;
    private String type;
    private String content;
    private String createDate;
    private Integer isHaveRead;
    private Integer state;
    private Integer isSystemType;
    private Long createTimestamp;
    private UserVo userVo;
    private final String msgType = "friend";

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFromUser() {
        return fromUser;
    }

    public void setFromUser(Long fromUser) {
        this.fromUser = fromUser;
    }

    public Long getToUser() {
        return toUser;
    }

    public void setToUser(Long toUser) {
        this.toUser = toUser;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Integer getIsHaveRead() {
        return isHaveRead;
    }

    public void setIsHaveRead(Integer isHaveRead) {
        this.isHaveRead = isHaveRead;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIsSystemType() {
        return isSystemType;
    }

    public void setIsSystemType(Integer isSystemType) {
        this.isSystemType = isSystemType;
    }

    public Long getCreateTimestamp() {
        return createTimestamp;
    }

    public void setCreateTimestamp(Long createTimestamp) {
        this.createTimestamp = createTimestamp;
    }

    public UserVo getUserVo() {
        return userVo;
    }

    public void setUserVo(UserVo userVo) {
        this.userVo = userVo;
    }

    @Override
    public String toString() {
        return "FriendMsgEntity{" +
                "id=" + id +
                ", fromUser=" + fromUser +
                ", toUser=" + toUser +
                ", type='" + type + '\'' +
                ", content='" + content + '\'' +
                ", createDate='" + createDate + '\'' +
                ", isHaveRead=" + isHaveRead +
                ", state=" + state +
                ", isSystemType=" + isSystemType +
                ", createTimestamp=" + createTimestamp +
                ", userVo=" + userVo +
                '}';
    }
}
